package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.BcuserDao;
import com.bootdo.system.domain.BcuserDO;
import com.bootdo.system.service.BcuserService;



@Service
public class BcuserServiceImpl implements BcuserService {
	@Autowired
	private BcuserDao bcuserDao;
	
	@Override
	public BcuserDO get(Long userId){
		return bcuserDao.get(userId);
	}
	
	@Override
	public List<BcuserDO> list(Map<String, Object> map){
		return bcuserDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return bcuserDao.count(map);
	}
	
	@Override
	public int save(BcuserDO bcuser){
		return bcuserDao.save(bcuser);
	}
	
	@Override
	public int update(BcuserDO bcuser){
		return bcuserDao.update(bcuser);
	}
	
	@Override
	public int remove(Long userId){
		return bcuserDao.remove(userId);
	}
	
	@Override
	public int batchRemove(Long[] userIds){
		return bcuserDao.batchRemove(userIds);
	}
	
}
